package com.qf.rpc.protocol;

import java.io.Serializable;

public class Request implements Serializable {
    private String serviceName;//调用的类名
    private String methodName;//调用的是类的哪个方法
    private Class[] paramTypes;//调用方法的参数类型，用于区分重载的方法
    private Object[] args;//调用方法的参数

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    public String getMethodName() {
        return methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    public Class[] getParamTypes() {
        return paramTypes;
    }

    public void setParamTypes(Class[] paramTypes) {
        this.paramTypes = paramTypes;
    }

    public Object[] getArgs() {
        return args;
    }

    public void setArgs(Object[] args) {
        this.args = args;
    }
}
